/*******************************************************************************
 * Package: com.hngtrust.iir.base.controller.vo
 * Type:    DictVO
 * Date:    2021-3-30 8:53
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.base.controller.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * VO类
 * @author Chentianyong
 * @date 2021-3-30 8:53
 */
@ApiModel(description = "在线用户列表")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ListOnlineRespVO {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;
    
    /**
     * 用户编号
     */
    @ApiModelProperty(value = "用户编号")
    @Excel(name = "登录名")
    private String userCode;
    
    /**
     * 用户姓名
     */
    @ApiModelProperty(value = "用户姓名")
    @Excel(name = "用户名称")
    private String name;
    
    /**
     * ip地址
     */
    @ApiModelProperty(value = "ip地址")
    @Excel(name = "ip地址")
    private String ip;
    
    /**
     * 登录时间
     */
    @ApiModelProperty(value = "登录时间")
    private Date loginTime;
    
    /**
     * 登录时间
     */
    @ApiModelProperty(value = "登录时间")
    @Excel(name = "登录时间")
    private String loginTimeStr;
    
    /**
     * 退出时间
     */
    @ApiModelProperty(value = "退出时间")
    private Date logoutTime;
    
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态 1在线 2离线")
    private Integer status;
    
    /**
     * 状态中文串
     */
    @ApiModelProperty(value = "状态中文串")
    @Excel(name = "登录状态")
    private String statusName;
    
}
